/**
 * 
 */
package com.netflexitysolutions.amazonws.sdb;

/**
 * @author netflexity
 *
 */
public interface ResponseCallback {

	public int MAX_NUMBER_OF_DOMAINS = 100;
	public int MAX_NUMBER_OF_SELECTED_ITEMS = 2500;
	
	/**
	 * Return the maximum number of records
	 * @return null if you want to use defaults.
	 */
	public Integer getMaxRecords();
	
	/**
	 * If you wish to get results for a particular token, set it here.
	 * 
	 * @return
	 */
	public String getNextToken();
	
	/**
	 * This callback method will be invoked after each request to the actual service.
	 * 
	 * @param stats
	 */
	public void onResponse(Statistics stats);
}
